package me.zhengjie.modules.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.base.Code;
import me.zhengjie.modules.system.domain.entity.SysUserBusiness;
import me.zhengjie.modules.system.domain.req.SysUserBusinessReqDTO;
import me.zhengjie.modules.system.domain.req.SysUserBusinessReqQueryDTO;
import me.zhengjie.modules.system.domain.rsp.SysUserBusinessRspDTO;
import me.zhengjie.utils.PageResult;

/**
 * @author wx
 * @email
 * @date 2025-02-19 09:45:51
 */
public interface SysUserBusinessService extends IService<SysUserBusiness> {

    /**
     * 添加
     *
     * @param reqDTO
     */
    Boolean save(SysUserBusinessReqDTO reqDTO);



    Boolean saveOrUpdate(SysUserBusinessReqDTO reqDTO);


    /**
     * 修改
     *
     * @param reqDTO
     */
    Boolean update(SysUserBusinessReqDTO reqDTO);

    /**
     * 删除
     *
     * @param code
     */
    Boolean delete(Code code);


    /**
     * 主键查询
     *
     * @param code
     */
    SysUserBusinessRspDTO findById(Code code);

    /**
     * 列表
     *
     * @param reqQueryDTO
     * @return
     */
    PageResult<SysUserBusinessRspDTO> findAll(SysUserBusinessReqQueryDTO reqQueryDTO);


}

